Skip to content

fix(ralph-wiggum): rename dir to pi-ralph-wiggum so SKILL name matches (#12)#29

Merged
tmustier merged 2 commits into
mainfrom
fix/ralph-skill-name-match-install-dir
Apr 19, 2026
Merged

fix(ralph-wiggum): rename dir to pi-ralph-wiggum so SKILL name matches (#12)#29
tmustier merged 2 commits into
mainfrom
fix/ralph-skill-name-match-install-dir

Conversation

@tmustier
Copy link
Copy Markdown
Owner

Fixes #12.

Problem

Pi validates that a skill's frontmatter name matches its parent directory. The in-repo dir is ralph-wiggum/ but the npm-installed dir is pi-ralph-wiggum/ (matches the package name @tmustier/pi-ralph-wiggum). With name: ralph-wiggum, anyone installing from npm saw this on every startup:

[Skill conflicts]
  npm:@tmustier/pi-ralph-wiggum (user) SKILL.md
    name "ralph-wiggum" does not match parent directory "pi-ralph-wiggum"

And because pi update re-downloads the package, manual patching didn't stick.

Fix

Rename the in-repo dir ralph-wiggum/pi-ralph-wiggum/ and set SKILL.md name: pi-ralph-wiggum so validation passes in both layouts.

Validated locally with the freshly-published [email protected] validator:

$ ./extending-pi/skill-creator/scripts/validate_skill.py ./pi-ralph-wiggum
Skill is valid!

Incidental cleanup

While in the README, renamed the ## Install heading to ## Installation so the skill validator stops warning about it (same validator, unrelated pre-existing warning).

Impact

  • npm users (pi install npm:@tmustier/pi-ralph-wiggum) — no action needed; package name is unchanged.
  • Git-source users referencing ~/pi-extensions/ralph-wiggum/… in their pi config should update the path to ~/pi-extensions/pi-ralph-wiggum/…. Minor bump (0.1.7 → 0.2.0) signals this.

Changes

  • git mv ralph-wiggum/ pi-ralph-wiggum/ (history preserved via rename detection)
  • pi-ralph-wiggum/SKILL.mdname: pi-ralph-wiggum
  • pi-ralph-wiggum/README.md## Install## Installation, config snippet paths
  • pi-ralph-wiggum/package.jsondirectory, homepage
  • root package.jsonpi.extensions / pi.skills paths
  • root README.md — table + example config
  • pi-ralph-wiggum → 0.2.0
  • root pi-extensions → 0.1.32

Credit: thanks to @ishanmalik for reporting in #12.

#12)

Pi expects a skill's frontmatter `name` to match the parent directory.
The in-repo directory was `ralph-wiggum/` but the npm-installed directory
is `pi-ralph-wiggum/` (matching the package name
`@tmustier/pi-ralph-wiggum`). The SKILL.md `name: ralph-wiggum` therefore
never matched the installed directory, producing a `[Skill conflicts]`
warning on every `pi` startup for anyone who installed from npm — and
every `pi update` would overwrite a manual patch.

Rename the repo directory to `pi-ralph-wiggum/` and set SKILL.md
`name: pi-ralph-wiggum` so both the in-repo and installed layouts pass
validation. Also rename the README's 'Install' heading to 'Installation'
so the skill validator stops warning.

Minor bump (0.1.7 → 0.2.0): breaking only for git-source users who
referenced `~/pi-extensions/ralph-wiggum/…` in their pi config; npm
users are unaffected.

Closes #12. Thanks to @ishanmalik for reporting.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 19, 2026

🔍 Tessl Skill Review

pi-ralph-wiggum/SKILL.md

score

Review Details

Review Details

Dimension Score Detail Suggestion
conciseness ██░ 2/3 Mostly efficient but includes some unnecessary content. The task file format template and best practices section are redundant with the loop behavior section. The user commands list is comprehensive but could be more compact. Add explicit validation checkpoints and error recovery steps in the Loop Behavior section (e.g., what to do if an iteration fails, how to detect and recover from stuck states).
actionability ███ 3/3 Provides concrete tool invocations with specific parameters, exact command syntax for user commands, and a clear task file format template. The ralph_start call is copy-paste ready with documented parameters. Consolidate the 'Best Practices' section into the 'Loop Behavior' section to reduce redundancy—items like 'update checklist' and 'capture verification evidence' are already mentioned in the workflow steps.
workflow clarity ██░ 2/3 The loop behavior steps are listed but lack explicit validation checkpoints. Step 3 mentions 'record verification evidence' but there's no feedback loop for what to do if verification fails. For an iterative development loop involving many discrete steps, the absence of error recovery guidance is a gap.
progressive disclosure ██░ 2/3 Content is structured with clear sections, but everything is inline in a single file. The user commands section and task file format template could potentially be referenced separately. , moderate length so this is a minor issue.

Optional: add a Tessl API token as TESSL_API_TOKEN in your repo secrets. The action will suggest an optimized version automatically in future PRs.

@tmustier
Copy link
Copy Markdown
Owner Author

Automated review (pr-reviewer subagent)

Findings

  • [P2] Renaming the skill breaks explicit /skill:ralph-wiggum for npm users too
    File: pi-ralph-wiggum/SKILL.md:2
    Changing the frontmatter name from ralph-wiggum to pi-ralph-wiggum fixes the directory mismatch, but it also changes the skill's public identifier. Any existing explicit invocations like /skill:ralph-wiggum will stop working after this release, even for npm installs, so the changelog note that this is "git-source users only" and that "npm users: no action needed" is inaccurate.
    What should change: Keep the 0.2.0 bump, but update the changelog/PR/release notes to call out the skill-name migration explicitly (/skill:pi-ralph-wiggum), and remove the claim that npm users are unaffected.

Verdict

needs attention — the implementation looks sound and no leftover old path references, but the release notes understate a real breaking change introduced by renaming the skill itself.

Addresses pr-reviewer P2: the skill rename changes the public
/skill:<name> identifier for all users (npm and git), not just git-source
users with a custom path.
@tmustier tmustier merged commit f4290fd into main Apr 19, 2026
2 checks passed
@tmustier tmustier deleted the fix/ralph-skill-name-match-install-dir branch April 19, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SKILL.md: name 'ralph-wiggum' should be 'pi-ralph-wiggum' to match package directory

2 participants